<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员登录</title>
    <!-- 引入 layui.css -->
    <link href="/static/lib/layui/css/layui.css" rel="stylesheet">
    <!-- 引入 layui.js -->
    <script src="/static/lib/layui/layui.js"></script>
    <style>
        .con-box{
            width: 400px;
            height: 260px;
            padding: 30px;
            border: 1px solid #ddd;
            margin: 50px auto;
            border-radius: 20px;
        }
        .line{
            margin: 10px 0;
        }
        .line span{
            width: 100px;
            text-align: right;
            display: inline-block;
        }
        .line  input{
            border: 1px solid #ddd;
        }
        .line input[type="submit"]{
            border: 1px solid #ddd;
            background: #333;
            color: #fff;
            cursor: pointer;
            border-radius: 5px;
            margin-left: 100px;
        }
    </style>
</head>
<body>
    <div id="container">
        <div class="con-box">
            <h1 style="text-align: center; margin-bottom: 30px;">
                管理员登录
            </h1>
            <form class="layui-form" action="" lay-filter="login-form">
            <div class="layui-form-item"> 
                <label class="layui-form-label">用户名：</label>
                <div class="layui-input-block">
                    <input type="text" lay-verify="required" name="username" class="layui-input">
                </div>
                
            </div>
            <div>
                <div class="layui-form-item"> 
                    <label class="layui-form-label">密码：</label>
                    <div class="layui-input-block">
                        <input type="text" name="password" lay-verify="required" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formLogin">提交登录</button>
                </div>
            </div>
            </form>
        </div>  
    </div>
    <script>
        var redirect_url = "{$redirect_url}";
    </script>
    <script src="/static/js/login.js"></script>
</body>
</html>